import request from '@/utils/request'

// 用户列表
export const getUserList = (data) => request({ url: '/admin/adminlist', method: 'post', data })
// 新增用户
export const addUser = (data) => request({ url: '/admin/adminadd', method: 'post', data })
// 修改用户
export const updateUser = (data) => request({ url: '/admin/adminupdate', method: 'post', data })
// 删除用户
export const deleteUser = (data) => request({ url: '/admin/admindel', method: 'post', data })